package com.mayikt.days07;

import java.lang.reflect.Field;

/**
 * @ClassName Test001
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public class Test001 {
    private static ThreadLocal threadLocal = new ThreadLocal<String>();

    public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException {
        threadLocal.set("mayikt");
//        threadLocal = null;
//        System.gc();

        Thread thread = Thread.currentThread();

//        System.out.println(threadLocal.get());
    }
}
